package com.feng.springboot01.pojo;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Component
public class Department {
    private int id;
    private String departmenName;

    public Department() {
    }

    public Department(int id, String departmenName) {
        this.id = id;
        this.departmenName = departmenName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDepartmenName() {
        return departmenName;
    }

    public void setDepartmenName(String departmenName) {
        this.departmenName = departmenName;
    }
}
